3.5.3 \(\int \frac {x^3 (d+e x^2)^q}{a+b x^2+c x^4} \, dx\) [403]

Optimal. Leaf size=210 \[ -\frac {\left (1-\frac {b}{\sqrt {b^2-4 a c}}\right ) \left (d+e x^2\right )^{1+q} \, _2F_1\left (1,1+q;2+q;\frac {2 c \left (d+e x^2\right )}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right )}{2 \left (2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e\right ) (1+q)}-\frac {\left (1+\frac {b}{\sqrt {b^2-4 a c}}\right ) \left (d+e x^2\right )^{1+q} \, _2F_1\left (1,1+q;2+q;\frac {2 c \left (d+e x^2\right )}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{2 \left (2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e\right ) (1+q)} \]

[Out]

-1/2*(e*x^2+d)^(1+q)*hypergeom([1, 1+q],[2+q],2*c*(e*x^2+d)/(2*c*d-e*(b-(-4*a*c+b^2)^(1/2))))*(1-b/(-4*a*c+b^2
)^(1/2))/(1+q)/(2*c*d-e*(b-(-4*a*c+b^2)^(1/2)))-1/2*(e*x^2+d)^(1+q)*hypergeom([1, 1+q],[2+q],2*c*(e*x^2+d)/(2*
c*d-e*(b+(-4*a*c+b^2)^(1/2))))*(1+b/(-4*a*c+b^2)^(1/2))/(1+q)/(2*c*d-e*(b+(-4*a*c+b^2)^(1/2)))

________________________________________________________________________________________

Rubi [A]
time = 0.23, antiderivative size = 210, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {1265, 844, 70} \begin {gather*} -\frac {\left (1-\frac {b}{\sqrt {b^2-4 a c}}\right ) \left (d+e x^2\right )^{q+1} \, _2F_1\left (1,q+1;q+2;\frac {2 c \left (e x^2+d\right )}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right )}{2 (q+1) \left (2 c d-e \left (b-\sqrt {b^2-4 a c}\right )\right )}-\frac {\left (\frac {b}{\sqrt {b^2-4 a c}}+1\right ) \left (d+e x^2\right )^{q+1} \, _2F_1\left (1,q+1;q+2;\frac {2 c \left (e x^2+d\right )}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{2 (q+1) \left (2 c d-e \left (\sqrt {b^2-4 a c}+b\right )\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^3*(d + e*x^2)^q)/(a + b*x^2 + c*x^4),x]

[Out]

-1/2*((1 - b/Sqrt[b^2 - 4*a*c])*(d + e*x^2)^(1 + q)*Hypergeometric2F1[1, 1 + q, 2 + q, (2*c*(d + e*x^2))/(2*c*
d - (b - Sqrt[b^2 - 4*a*c])*e)])/((2*c*d - (b - Sqrt[b^2 - 4*a*c])*e)*(1 + q)) - ((1 + b/Sqrt[b^2 - 4*a*c])*(d
 + e*x^2)^(1 + q)*Hypergeometric2F1[1, 1 + q, 2 + q, (2*c*(d + e*x^2))/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)])/(
2*(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)*(1 + q))

Rule 70

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(b*c - a*d)^n*((a + b*x)^(m + 1)/(b^(
n + 1)*(m + 1)))*Hypergeometric2F1[-n, m + 1, m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m
}, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] && IntegerQ[n]

Rule 844

Int[(((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_)))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Int[Exp
andIntegrand[(d + e*x)^m, (f + g*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[b^2 -
4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] &&  !RationalQ[m]

Rule 1265

Int[(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Dist[1/2,
Subst[Int[x^((m - 1)/2)*(d + e*x)^q*(a + b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, d, e, p, q}, x] &&
 IntegerQ[(m - 1)/2]

Rubi steps

\begin {align*} \int \frac {x^3 \left (d+e x^2\right )^q}{a+b x^2+c x^4} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {x (d+e x)^q}{a+b x+c x^2} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {\left (1-\frac {b}{\sqrt {b^2-4 a c}}\right ) (d+e x)^q}{b-\sqrt {b^2-4 a c}+2 c x}+\frac {\left (1+\frac {b}{\sqrt {b^2-4 a c}}\right ) (d+e x)^q}{b+\sqrt {b^2-4 a c}+2 c x}\right ) \, dx,x,x^2\right )\\ &=\frac {1}{2} \left (1-\frac {b}{\sqrt {b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {(d+e x)^q}{b-\sqrt {b^2-4 a c}+2 c x} \, dx,x,x^2\right )+\frac {1}{2} \left (1+\frac {b}{\sqrt {b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {(d+e x)^q}{b+\sqrt {b^2-4 a c}+2 c x} \, dx,x,x^2\right )\\ &=-\frac {\left (1-\frac {b}{\sqrt {b^2-4 a c}}\right ) \left (d+e x^2\right )^{1+q} \, _2F_1\left (1,1+q;2+q;\frac {2 c \left (d+e x^2\right )}{2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e}\right )}{2 \left (2 c d-\left (b-\sqrt {b^2-4 a c}\right ) e\right ) (1+q)}-\frac {\left (1+\frac {b}{\sqrt {b^2-4 a c}}\right ) \left (d+e x^2\right )^{1+q} \, _2F_1\left (1,1+q;2+q;\frac {2 c \left (d+e x^2\right )}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{2 \left (2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e\right ) (1+q)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.26, size = 183, normalized size = 0.87 \begin {gather*} -\frac {\left (d+e x^2\right )^{1+q} \left (\left (-b d+\sqrt {b^2-4 a c} d+2 a e\right ) \, _2F_1\left (1,1+q;2+q;\frac {2 c \left (d+e x^2\right )}{2 c d+\left (-b+\sqrt {b^2-4 a c}\right ) e}\right )+\left (b d+\sqrt {b^2-4 a c} d-2 a e\right ) \, _2F_1\left (1,1+q;2+q;\frac {2 c \left (d+e x^2\right )}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )\right )}{4 \sqrt {b^2-4 a c} \left (c d^2+e (-b d+a e)\right ) (1+q)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^3*(d + e*x^2)^q)/(a + b*x^2 + c*x^4),x]

[Out]

-1/4*((d + e*x^2)^(1 + q)*((-(b*d) + Sqrt[b^2 - 4*a*c]*d + 2*a*e)*Hypergeometric2F1[1, 1 + q, 2 + q, (2*c*(d +
 e*x^2))/(2*c*d + (-b + Sqrt[b^2 - 4*a*c])*e)] + (b*d + Sqrt[b^2 - 4*a*c]*d - 2*a*e)*Hypergeometric2F1[1, 1 +
q, 2 + q, (2*c*(d + e*x^2))/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)]))/(Sqrt[b^2 - 4*a*c]*(c*d^2 + e*(-(b*d) + a*e
))*(1 + q))

________________________________________________________________________________________

Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {x^{3} \left (e \,x^{2}+d \right )^{q}}{c \,x^{4}+b \,x^{2}+a}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(e*x^2+d)^q/(c*x^4+b*x^2+a),x)

[Out]

int(x^3*(e*x^2+d)^q/(c*x^4+b*x^2+a),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(e*x^2+d)^q/(c*x^4+b*x^2+a),x, algorithm="maxima")

[Out]

integrate((x^2*e + d)^q*x^3/(c*x^4 + b*x^2 + a), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(e*x^2+d)^q/(c*x^4+b*x^2+a),x, algorithm="fricas")

[Out]

integral((x^2*e + d)^q*x^3/(c*x^4 + b*x^2 + a), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*(e*x**2+d)**q/(c*x**4+b*x**2+a),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(e*x^2+d)^q/(c*x^4+b*x^2+a),x, algorithm="giac")

[Out]

integrate((x^2*e + d)^q*x^3/(c*x^4 + b*x^2 + a), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^3\,{\left (e\,x^2+d\right )}^q}{c\,x^4+b\,x^2+a} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^3*(d + e*x^2)^q)/(a + b*x^2 + c*x^4),x)

[Out]

int((x^3*(d + e*x^2)^q)/(a + b*x^2 + c*x^4), x)

________________________________________________________________________________________